package com.yeqian.controller;

import com.yeqian.service.AdminService;
import com.yeqian.service.ArticleService;
import com.yeqian.service.CommentService;
import com.yeqian.service.TagService;
import com.yeqian.utils.MailUtils;
import com.yeqian.utils.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.password.PasswordEncoder;


/**
 * @Author : yeqian
 * @Date : 2020/12/24 22:19
 * 控制器的基类，所有控制器必须继承此类
 */

public class BaseController {

    @Autowired
    ArticleService articleService;
    @Autowired
    AdminService adminService;
    @Autowired
    TagService tagService;
    @Autowired
    RedisUtil redisUtil;
    @Autowired
    CommentService commentService;
    @Autowired
    MailUtils mailUtils;
    @Autowired
    PasswordEncoder passwordEncoder;

}
